missing tests, see docs